package com.qf.shoppingcar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.shoppingcar.entity.Car;
import com.qf.shoppingcar.entity.CarVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarMapper extends BaseMapper<Car> {
//    @Select("SELECT * FROM product WHERE product_id IN (${productIds}) and user_id=#{userId}")
    List<CarVO> getAllByProductIds(Integer userId);
}
